﻿using System;
using System.Collections.Generic;
using System.Text;
using Castle.ActiveRecord;
using Castle.Components.Validator;
using MiragePWF.NH.Validation;
using Wolfut.MirageEE.Kernal.Common;

namespace Wolfut.MirageEE.Domain.Common
{
    [Serializable]
    public class AccountBalance : PersistentObjectWithGuid
    {
        #region AccountCode
        [Property("BALANCE_DATE")]
        public virtual DateTime BalanceDate
        {
            get
            {
                return balanceDate;
            }
            set
            {
                balanceDate = value;
            }
        }

        private DateTime balanceDate;
      #endregion
        #region 逻辑删除
        private Boolean isDeleted;
        [Property("IS_DELETED")]
        public virtual Boolean IsDeleted
        {
            get
            {
                return isDeleted;
            }
            set
            {
                isDeleted = value;
            }
        }
        #endregion
        #region InitialOriginalAmount
        [Property("INITIAL_ORIGIN_AMOUNT")]
        public virtual decimal InitialOriginalAmount
        {
            get
            {
                return initialOriginalAmount;
            }
            set
            {
                initialOriginalAmount = value;
            }
        }

        private decimal initialOriginalAmount;
        #endregion
        #region InitialStandardAmount
        [Property("INITIAL_STANDARD_AMOUNT")]
        public virtual decimal InitialStandardAmount
        {
            get
            {
                return initialStandardAmount;
            }
            set
            {
                initialStandardAmount = value;
            }
        }

        private decimal initialStandardAmount;
        #endregion

        #region InitialStandardAmount
        [Property("INITIAL_STANDARD_AMOUNT")]
        public virtual Account Account
        {
            get
            {
                return account;
            }
            set
            {
                account = value;
            }
        }

        private Account account;
        #endregion


        #region InitialStandardAmount
        [Property("INITIAL_STANDARD_AMOUNT")]
        public virtual decimal InitialStandardAmount
        {
            get
            {
                return initialStandardAmount;
            }
            set
            {
                initialStandardAmount = value;
            }
        }

        private decimal initialStandardAmount;
        #endregion
    }
}

